package com.shop.admin.entity;

import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (PostComment)实体类
 *
 * @author makejava
 * @since 2023-05-18 18:42:09
 */
@Data
public class PostComment implements Serializable {
    private static final long serialVersionUID = 378158194398345711L;
    
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 帖子id
     */
    private Integer postId;
    /**
     * 回复的父级id
     */
    private Integer fatherId;
    /**
     * 评论内容
     */
    private String message;
    /**
     * 消息类型1->文字 2->图片 3->视频 4->声音
     */
    private Integer type;
    /**
     * 创建时间
     */
    private Date createDate;
    /**
     * 逻辑删除
     * @return
     */
    private Integer isDeleted;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public Integer getFatherId() {
        return fatherId;
    }

    public void setFatherId(Integer fatherId) {
        this.fatherId = fatherId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

}

